<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
<head>
	<link th:href="@{/css/bootstrap.min.css}" rel="stylesheet"  />
	<link th:href="@{/css/font-awesome.min.css}" rel="stylesheet"  />
	<!-- bootstrap-table 表格插件样式 -->
	<link th:href="@{/ajax/libs/bootstrap-table/bootstrap-table.min.css}" rel="stylesheet"/>
	<link th:href="@{/css/animate.css}" rel="stylesheet"  />
	<link th:href="@{/css/style.css}" rel="stylesheet" />
	<link th:href="@{/ruoyi/css/ry-ui.css}" rel="stylesheet"  />
	<th:block th:include="include :: jsonview-css" />

</head>
<body class="white-bg" >
	<form class="form-horizontal m-t">
        <h2 class="form-header h2" align="center" >任务信息</h2>
        <div class="row">
            <div class="col-xs-1 col-sm-1 "></div>
            <div class="col-xs-5 col-sm-5 ">
                <label class="control-label">任务编号：</label>
                <span class="form-control-static" th:text="${sysOaTask.taskNo}">
                </span>
            </div>
            <div class="col-xs-5 col-sm-5 ">
                <label class="control-label">任务标题：</label>
                <span class="form-control-static" th:text="${sysOaTask.taskName}">
                </span>
            </div>
        </div>

        <div class="row">
            <div class="col-xs-1 col-sm-1 "></div>
            <div class="col-xs-5 col-sm-5">
                <label class="control-label">紧急程度：</label>
                <span class="form-control-static" th:text="${@dict.getLabel('sys_oa_task_priority',sysOaTask.priority)}">
                </span>
            </div>
            <div class="col-xs-5 col-sm-5">
                <label class="control-label">任务类型：</label>
                <span class="form-control-static" th:text="${@dict.getLabel('sys_task_type',sysOaTask.taskType)}">
                </span>
            </div>
        </div>
        <div class="row">
            <div class="col-xs-1 col-sm-1 "></div>
            <div class="col-xs-10 col-sm-10">
                <label class="control-label">任务内容：</label>
                <span class="form-control-static" th:text="${sysOaTask.taskContent}">
                </span>
            </div>
        </div>

        <h2 class="form-header h2" align="center" >任务分配记录</h2>
        <div class=" timeline">

            <div class="timeline-item" >
                <div class="row" th:each="logs,iterStat:${sysOaTaskDistributes}">
                    <div class="col-xs-3 date">
                        <i class="fa fa-tasks"></i>
                        <small class="text-navy"  th:text="${#dates.format(logs.createTime, 'yyyy-MM-dd hh:mm:ss')}"></small>
                    </div>
                    <div class="col-xs-7 content">
                        <p>
                            <strong>1.任务执行状态：</strong>
                            <span class="m-b-xs" th:text="${@dict.getLabel('ding_task_status',logs.taskExecuteStatus)}">
                        </span>
                        </p>
                        <p>
                            <strong>2.任务执行人：</strong>
                        </p>

                        <p th:text="${logs.taskExecuteId}">
                        </p>
                        <p>
                            <strong>3.任务反馈：</strong>
                        </p>
                        <p class="m-b-xs" th:text="${logs.taskFeedback}">
                        </p>

                    </div>
                </div>
            </div>



        </div>
	</form>
    </div>
    <th:block th:include="include :: footer" />


</body>
</html>